projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a385a50
)
gdk: Make GDK_NONE Atom translate to NULL
author
Benjamin Otte
<otte@redhat.com>
Wed, 15 Nov 2017 15:45:12 +0000
(16:45 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 15 Nov 2017 18:07:17 +0000
(19:07 +0100)
Instead of the string "NONE" we now use NULL.
gdk/gdkproperty.c
patch
|
blob
|
history
diff --git
a/gdk/gdkproperty.c
b/gdk/gdkproperty.c
index faa466431a28924d0e7c22ba4c825b341a30d894..d46b9eda8e194fed8d85c5f54aa098d365ec21dc 100644
(file)
--- a/
gdk/gdkproperty.c
+++ b/
gdk/gdkproperty.c
@@
-68,8
+68,7
@@
ensure_atom_tables (void)
names_to_atoms = g_hash_table_new (g_str_hash, g_str_equal);
atoms_to_names = g_ptr_array_new ();
- g_hash_table_insert (names_to_atoms, (gpointer) "NONE", NULL);
- g_ptr_array_add (atoms_to_names, (gpointer) "NONE");
+ g_ptr_array_add (atoms_to_names, NULL);
}
static GdkAtom